Klasse ArrayPdfSource
java.lang.Object
com.inet.pdfc.config.PdfSource
com.inet.pdfc.config.ArrayPdfSource
- Alle implementierten Schnittstellen:
Serializable, Comparable<PdfSource>
-
Feldübersicht
Von Klasse geerbte Felder PdfSource
KEY_LAST_MODIFIED, KEY_NAME, KEY_PASSWORD, KEY_PATH, KEY_SIZE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungArrayPdfSource(String name, long lastModified, byte[] content) Creates thePdfSourcefor in-memory data. -
Methodenübersicht
Von Klasse geerbte Methoden PdfSource
compareTo, equals, getLanguage, getLastModified, getMetaProperties, getName, getPassword, getPath, hashCode, setLanguage, setPageLimit, setPassword
-
Konstruktordetails
-
ArrayPdfSource
Creates thePdfSourcefor in-memory data.- Parameter:
name- the name of the PDF, commonly the file name the PDF was read from, must not benulllastModified- the last modified timestamp of the PDF data; this time stamp is only relevant for the result export, it's not used in the comparisoncontent- the actual raw content of the PDF, must not be null- Löst aus:
IllegalArgumentException- in case the name or the content isnull- Seit:
- 3.0
-
-
Methodendetails
-
getSize
-
getRawContent
-
getContent
Returns the readable content of this document source- Angegeben von:
getContentin KlassePdfSource- Gibt zurück:
- the readable content of this document source
- Löst aus:
IOException- thrown in case the source data cannot be accessed or does not exist
-